package org.clxmm.security.springmvc.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author clxmm
 * @Description
 * @create 2021-06-07 8:45 下午
 */
@RestController
public class LoginController {


    @RequestMapping(value = "/login‐success")
    public String loginSuccess() {
        return " success login";
    }


    /**
     * 测试资源1 * @return
     */
    @GetMapping(value = "/r/r1")
    public String r1() {
        return " resource 1";
    }

    /**
     * 测试资源2 * @return
     */
    @GetMapping(value = "/r/r2")
    public String r2() {
        return " resource 2";
    }

}
